<!DOCTYPE html>
<html>
<head>

    <title>学生个人打卡记录</title>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <link rel="stylesheet" href="{{ url_for('static',filename='css/111weui.min.css') }}">
    <link rel="stylesheet" href="{{ url_for('static',filename='css/101jquery-weui.min.css') }}">
</head>


<body>

<div class="weui_tab">
    <div class="weui-tab__bd">
        <div class="weui-panel weui-panel_access">
            <div class="weui-panel__bd">

                        <header style="padding: 35px 0;">
                            <h1 style="text-align: center; font-size: 23px; color: #3cc51f; font-weight: 400; margin: 0 15%;">{{ username}}</h1>
                            <h1 style="text-align: center; color: #888; font-size: 14px;">*显示近期几天打卡时间,仅供老师参考*</h1>
                        </header>

                {% if self_list %}
                            {% for each in self_list %}
                                <div class="weui-cells" style="margin-top: 0px;">
                                    <div class="weui-cell">
                                        <div class="weui-cell__bd">
                                            <i class="weui-icon-download"></i>
                                        </div>
                                        <div class="weui-cell__ft" style="font-size: 15px">{{ each.doorctrlname[:4] }}&nbsp;&nbsp;{{ each.acctime }}</div>
                                    </div>
                                </div>

                            {% endfor %}

                {% else %}
                <div class="weui-cells" style="margin-top: 0px;">
                                    <div class="weui-cell">
                                        <div class="weui-cell__ft" style="font-size: 15px">该生暂无打卡记录</div>
                                    </div>
                </div>
                {% endif %}

            </div>
        </div>
    </div>
</div>

 <div class="weui-btn-area">
                        <a class="weui-btn weui-btn_primary" href="javascript:history.back();" >返回</a>
                    </div>

</body>
</html>
